package net.zhengxinyun.performance.App.mapper;

import ch.qos.logback.core.filter.EvaluatorFilter;
import net.zhengxinyun.performance.App.entity.EvaluateIndexEnrity;
import net.zhengxinyun.performance.App.entity.EvaluateScoreEntity;
import net.zhengxinyun.performance.filter.CountryIndicatorsFilter;
import net.zhengxinyun.performance.filter.EvaluateIndexFilter;
import net.zhengxinyun.performance.filter.EvaluateScoreFilter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EvaScoreMageMapper {

    int addEvaMag(EvaluateIndexEnrity enrity);
    int delEvaMag(Long id);
    int updEvaMag(EvaluateIndexEnrity enrity);
    List<EvaluateIndexFilter> queryEvaMag(EvaluateIndexFilter filter);


    List<EvaluateScoreEntity> queryEvainfo(@Param(value = "evaId") Long evaId, @Param(value = "leadName") String name );
    int addEvaScore(EvaluateScoreEntity enrity);
    int delEvaScore(Long id);
    int updEvaScore(EvaluateScoreEntity enrity);

    List<EvaluateScoreFilter> queryEvaScore(EvaluateScoreFilter filter);

    int updateScoreByPrimaryKeySelective(EvaluateScoreEntity entity);

}
